function handleMessage(message: string | number) {
    switch (typeof message) {
        case "string": {
            // do something
            break;
        }
        case "number": {
            // do other thing
            break;
        }
        default: {
            const check: never = message;
        }
    }
}

export {}
